package com.fauks.ssm.mybatis.bean;

import java.util.Set;

public class MCountry {
    private int cid;
    private String cname;
    /*set无序而且数据不能重复*/
    private Set<MProvince> provences;

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Set<MProvince> getProvences() {
        return provences;
    }

    public void setProvences(Set<MProvince> provences) {
        this.provences = provences;
    }

  /*  @Override
    public String toString() {
        return "MCountry{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", provences=" + provences +
                '}';
    }*/
}
